package online.shenjian.cloud.api.model;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

/**
 * 每日排名统计信息
 *
 * @author shenjian
 * @since 2023-12-30
 */
@Document("day_rank")
@Data
public class DayRank {

    @Id
    private Integer id;
    private String rank;
    @Field
    private String url;
    @Field
    private String name;
    @Field("chinese_name")
    private String chineseName;
    @Field
    private String price;
    @Field("hour_24")
    private String hour24;
    @Field("day_7")
    private String day7;
    @Field("volume_24h")
    private String volume24h;
    @Field("mkt_cap")
    private String mktCap;
    @Field("c_date")
    private String cDate;
}
